package gui;

import java.awt.Color;
import java.awt.Component;

import javax.swing.JTabbedPane;

public class TabContainer extends JTabbedPane {

	private static final long serialVersionUID = 1L;
	private String tabName;

	public void addComponent(String name, Component c) {
		this.add(name, c);
	}

	/**
	 * This is the default constructor
	 */
	public TabContainer() {
		super();
		this.setSize(860, 600);

	}

	public TabContainer(String name) {
		super();
		this.setSize(860, 600);
		this.setBackground(new Color(250, 250, 250));
		tabName = name;

	}

	public void setTabName(String tabName) {
		this.tabName = tabName;
	}

	public String getTabName() {
		return tabName;
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */

}
